﻿@model PasswordModel
<div class="bjui-pageContent">
    <form action="Users/ChangePassword" data-toggle="validate" method="post" data-close-current="true">
        <input type="hidden" name="UserId" value="@ViewBag.id">
        <div class="bjui-row col-1">
            <label class="row-label">姓名:</label>
            <div class="row-input">@ViewBag.username</div>
            <label class="row-label">登陆账号:</label>
            <div class="row-input">@ViewBag.loginname</div>
            <label class="row-label">旧密码:</label>
            <div class="row-input required">
                <input type="password" id="OldPassword" name="OldPassword" value="" data-rule="required">
            </div>
            <label class="row-label">新密码:</label>
            <div class="row-input required">
                <input type="password" id="NewPassword" name="NewPassword" value="" data-rule="新密码:required;length(6~)">
            </div>
            <label class="row-label">确认密码:</label>
            <div class="row-input required">
                <input type="password" id="changepass_confirmpass" name="" value="" data-rule="required;match(#NewPassword)">
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
        <li><button type="submit" class="btn-default" data-icon="check">确认修改</button></li>
    </ul>
</div>
